package com.gxa.entity.discrepancy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 门禁申请
 * @TableName t_access_control
 */
@TableName(value ="t_access_control")
@Data
@ApiModel(value = "门禁申请", description = "门禁申请")
public class AccessControl implements Serializable {
    /**
     * 门禁申请id
     */
    @ApiModelProperty("门禁申请id ")
    @TableId(value = "apply_id", type = IdType.AUTO)
    private Integer applyId;

    /**
     * 申请人员id

     */
    @ApiModelProperty("门禁申请人员id ")
    @TableField(value = "user_list_id")
    private Integer userListId;
    /**
     * 申请人员

     */
    @ApiModelProperty("门禁申请人员")
    @TableField(value = "apply_person")
    private String applyPerson;

    /**
     * 申请门禁时间

     */
    @ApiModelProperty("门禁申请时间 ")
    @TableField(value = "apply_time")
    private Date applyTime;

    /**
     * 申请状态 0-待审核 1-通过 2-未通过

     */
    @ApiModelProperty("门禁申请状态 ")
    @TableField(value = "apply_status")
    private Integer applyStatus;

    /**
     * 0--正常 1--删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 性别 0女  1男
     */
    @ApiModelProperty("性别 ")
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 电话号码
     */
    @ApiModelProperty("电话号码  ")
    @TableField(value = "phone")
    private String phone;

    /**
     * 身份证号
     */
    @ApiModelProperty("身份证号 ")
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 绑定home
     */
    @ApiModelProperty("绑定home ")
    @TableField(value = "home")
    private String home;

    /**
     * 人员类型
     */
    @ApiModelProperty("人员类型")
    @TableField(value = "person_type")
    private Integer personType;

    /**
     * 人脸照片
     */
    @ApiModelProperty("人脸照片 ")
    @TableField(value = "face_photo")
    private String facePhoto;




    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}